//
//  MHPhotoModel.h
//  MH
//
//  Created by SY on 2018/10/7.
//  Copyright © 2018年 SY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, MHPhotoModelType) {
    MHPhotoModelTypeLocationPhoto,
    MHPhotoModelTypeLocationVideo,
    MHPhotoModelTypeWebPhoto,
    MHPhotoModelTypeWebVideo,
};

@interface MHPhotoModel : NSObject

@property(nonatomic,copy) NSString *md5Str;

@property (nonatomic,assign) MHPhotoModelType photoModelType;
//图片
@property (nonatomic, strong) UIImage *locationImage;
//web的图片
@property (nonatomic, copy) NSString *webImageUrl;

@property (nonatomic, copy) NSString *prefixNotwebImageUrl;
//视频
@property (nonatomic, strong) NSURL *videoURL;

@property (nonatomic, strong) NSString *videoLocationUrl;

@property (nonatomic, strong) UIImage *locationFistImageImage;

@property (nonatomic, strong) NSString *videoFirstImageUrl;
//视频时间
@property (nonatomic,assign) CGFloat duration;

//图片的宽度
@property (nonatomic,assign) CGFloat photoW;
//图片的高度
@property (nonatomic,assign) CGFloat photoH;

@property(nonatomic,copy) NSString *photoTag;
@end
